package model.entity.assistant;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import model.entity.user.UserInfo;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/5/21
 * @description AI图片实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class Image {
    @Schema(description = "id")
    private Integer id;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "生成时间")
    private Date createTime;

    @Schema(description = "用户 id")
    private Long userId;

    @Schema(description = "图片生成类型")
    private String type;

    @Schema(description = "作者")
    private UserInfo author;
}